-- GENERATED SPELL FOR [Plague Ravager] --


function spell0_8520(pUnit, Event) --@Mighty Blow,n/a--
pUnit:FullCastSpellOnTarget(14099,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8520', 665, 1)
end

function Sorts_8520(pUnit, Event)
local choix_sorts_8520 = math.random(0, 0)
if choix_sorts_8520 == 0 then
pUnit:RegisterEvent('spell0_8520', 1, 1)
end
end

function mob8520_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8520', math.random(1500, 3000), 1)
end

function mob8520_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8520_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8520_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8520, 1, 'mob8520_Action')
RegisterUnitEvent(8520, 2, 'mob8520_Leave')
RegisterUnitEvent(8520, 3, 'mob8520_Kill')
RegisterUnitEvent(8520, 4, 'mob8520_Die')
